package com.example.hystrixdemo.fallback;

import com.example.hystrixdemo.service.GitHubFeignService;
import org.springframework.stereotype.Component;

/**
 * @Package: com.example.hystrixdemo.fallback
 * @ClassName: GitHubFeignServiceFallBack
 * @Author: Think
 * @CreateTime: 2021/7/8 14:25
 * @Description:
 */
@Component
public class GitHubFeignServiceFallBack implements GitHubFeignService {
    @Override
    public String searchRepo(String queryString) {
        return "请检查github地址是否正确？！";
    }
}
